{include file="public/head"}
<div class="main">
    {include file="public/left"}
    <div class="middle">
    {include file="public/header"}
    <div class='userinfo'>
        {include file="public/userleft"}
        <div class='vip_add'>
            <h3>{:__('账户信息')}</h3>
            <dl style="display: flex;flex-direction: row;align-items: center;">
                <p>{:__('金币')}：</p><span id="money">0.00</span>$，{:__('冻结')}：<span id="freeze">0.00</span>$
            </dl>
            <dl class="layui-form">
                <div class="layui-form-item">
                    <div class="layui-input-block money_choose" >
                        <input type="radio" name="sex" value="1" title="{:__('充值 30 天需要 300')} $" checked>
                        <input type="radio" name="sex" value="2" title="{:__('充值 60 天需要 500')} $">
                        <input type="radio" name="sex" value="2" title="{:__('充值 90 天需要 700')} $">
                        <input type="radio" name="sex" value="2" title="{:__('充值 180 天需要 1500')} $">
                    </div>
                </div>
            </dl>
            <dl>
                <button class="layui-btn layui-btn-warm">{:__('立即购买')}</button>
            </dl>
            <h6>{:__('购买记录')}</h6>
            <ul>
                <dl>
                    <p>{:__('购买时间')}</p>
                    <p>{:__('到期时间延长至')}</p>
                    <p>{:__('购买天数')}</p>
                    <p>{:__('扣除现金')}</p>
                    <p>{:__('扣除金币')}</p>
                </dl>
            </ul>
        </div>
    </div>
    {include file="public/foot"}
    </div>
    {include file="public/right"}
</div>
{include file="public/footer"}
<script>
    noLog();
    $(document).queue('user',function(){
        var userData = getLocalStorage('userData');
        var userdata = JSON.parse(userData);
        if(userdata['money'] != '' && userdata['money'] != null && userdata['money'] != undefined){
            $("#money").html(userdata['money']);
        }
        if(userdata['freeze'] != '' && userdata['freeze'] != null && userdata['freeze'] != undefined){
            $("#freeze").html(userdata['freeze']);
        }
    });
   
</script>